package com.me.dogdog.entity

import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.v3.oas.annotations.media.Schema
import java.io.Serializable
import java.time.LocalDate

/**
 * <p>
 *
 * </p>
 *
 * @author Marblog
 * @since 2021-12-08
 */
@TableName("sys_user")
@Schema(name = "SysUser对象", description = "")
class SysUser : Serializable {

    @Schema(name = "id")
    var id: String? = null

    @Schema(name = "姓名")
    var username: String? = null

    @Schema(name = "邮箱")
    var email: String? = null

    @Schema(name = "内容")
    var content: String? = null

    @Schema(name = "添加日期")
    var addDate: LocalDate? = null

    override fun toString(): String {
        return "SysUser{" +
                "id=" + id +
                ", username=" + username +
                ", email=" + email +
                ", content=" + content +
                ", addDate=" + addDate +
                "}"
    }
}
